package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 line
 * 
 * @author ruoyi
 * @date 2025-03-31
 */
public class Line extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 线路id */
    private Long id;

    /** 线路名称 */
    @Excel(name = "线路名称")
    private String name;

    /** 创建人 */
    @Excel(name = "创建人")
    private String maker;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date makedate;

    /** 更新用户 */
    @Excel(name = "更新用户")
    private String updater;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedate;

    /** 线路颜色 */
    @Excel(name = "线路颜色")
    private String color;

    /** 服务器id */
    @Excel(name = "服务器id")
    private Long dataserverid;

    /** 备用1 */
    @Excel(name = "备用1")
    private Long bk1;

    /** 备用2 */
    @Excel(name = "备用2")
    private String bk2;

    /** 备用3 */
    @Excel(name = "备用3")
    private String bk3;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setMaker(String maker) 
    {
        this.maker = maker;
    }

    public String getMaker() 
    {
        return maker;
    }

    public void setMakedate(Date makedate) 
    {
        this.makedate = makedate;
    }

    public Date getMakedate() 
    {
        return makedate;
    }

    public void setUpdater(String updater) 
    {
        this.updater = updater;
    }

    public String getUpdater() 
    {
        return updater;
    }

    public void setUpdatedate(Date updatedate) 
    {
        this.updatedate = updatedate;
    }

    public Date getUpdatedate() 
    {
        return updatedate;
    }

    public void setColor(String color) 
    {
        this.color = color;
    }

    public String getColor() 
    {
        return color;
    }

    public void setDataserverid(Long dataserverid) 
    {
        this.dataserverid = dataserverid;
    }

    public Long getDataserverid() 
    {
        return dataserverid;
    }

    public void setBk1(Long bk1) 
    {
        this.bk1 = bk1;
    }

    public Long getBk1() 
    {
        return bk1;
    }

    public void setBk2(String bk2) 
    {
        this.bk2 = bk2;
    }

    public String getBk2() 
    {
        return bk2;
    }

    public void setBk3(String bk3) 
    {
        this.bk3 = bk3;
    }

    public String getBk3() 
    {
        return bk3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("maker", getMaker())
            .append("makedate", getMakedate())
            .append("updater", getUpdater())
            .append("updatedate", getUpdatedate())
            .append("color", getColor())
            .append("dataserverid", getDataserverid())
            .append("bk1", getBk1())
            .append("bk2", getBk2())
            .append("bk3", getBk3())
            .toString();
    }
}
